Optimal. Leaf size=21 \[ -2 \cos \left (\sqrt {x}\right )+\frac {2}{3} \cos ^3\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3460, 2713}
\begin {gather*} \frac {2}{3} \cos ^3\left (\sqrt {x}\right )-2 \cos \left (\sqrt {x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2713
Rule 3460
Rubi steps
\begin {align*} \int \frac {\sin ^3\left (\sqrt {x}\right )}{\sqrt {x}} \, dx &=2 \text {Subst}\left (\int \sin ^3(x) \, dx,x,\sqrt {x}\right )\\ &=-\left (2 \text {Subst}\left (\int \left (1-x^2\right ) \, dx,x,\cos \left (\sqrt {x}\right )\right )\right )\\ &=-2 \cos \left (\sqrt {x}\right )+\frac {2}{3} \cos ^3\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 23, normalized size = 1.10 \begin {gather*} -\frac {3}{2} \cos \left (\sqrt {x}\right )+\frac {1}{6} \cos \left (3 \sqrt {x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 15, normalized size = 0.71
method | result | size |
derivativedivides | \(-\frac {2 \left (2+\sin ^{2}\left (\sqrt {x}\right )\right ) \cos \left (\sqrt {x}\right )}{3}\) | \(15\) |
default | \(-\frac {2 \left (2+\sin ^{2}\left (\sqrt {x}\right )\right ) \cos \left (\sqrt {x}\right )}{3}\) | \(15\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.31, size = 15, normalized size = 0.71 \begin {gather*} \frac {2}{3} \, \cos \left (\sqrt {x}\right )^{3} - 2 \, \cos \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 15, normalized size = 0.71 \begin {gather*} \frac {2}{3} \, \cos \left (\sqrt {x}\right )^{3} - 2 \, \cos \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.18, size = 29, normalized size = 1.38 \begin {gather*} - 2 \sin ^{2}{\left (\sqrt {x} \right )} \cos {\left (\sqrt {x} \right )} - \frac {4 \cos ^{3}{\left (\sqrt {x} \right )}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.02, size = 15, normalized size = 0.71 \begin {gather*} \frac {2}{3} \, \cos \left (\sqrt {x}\right )^{3} - 2 \, \cos \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.74, size = 14, normalized size = 0.67 \begin {gather*} \frac {2\,\cos \left (\sqrt {x}\right )\,\left ({\cos \left (\sqrt {x}\right )}^2-3\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________